//
//  RJCityWarningModel.h
//  AirQuality
//
//  Created by Po on 15/5/4.
//  Copyright (c) 2015年 Po. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface RJCityWarningModel : NSObject

//PageData
@property (retain, nonatomic) NSMutableArray * warningPM25PageData;
@property (retain, nonatomic) NSMutableArray * warningAQIPageData;
@property (retain, nonatomic) NSMutableArray * warningFirstPageData;
@property (retain, nonatomic) NSMutableArray * checkPM25PageData;
@property (retain, nonatomic) NSMutableArray * checkAQIPageData;
@property (retain, nonatomic) NSMutableArray * checkFirstPageData;

@property (retain, nonatomic) NSMutableDictionary * warningUserData;
@property (retain, nonatomic) NSMutableDictionary * checkUserData;

//State
@property (retain, nonatomic) NSNumber * timepoint;

//Warning
@property (retain, nonatomic) NSString * currentCityCode;   //当前城市代码
@property (assign, nonatomic) NSUInteger currentPage;       //当前页码
@property (retain, nonatomic) NSArray * cityNames;          //城市名称
@property (retain, nonatomic) NSArray * cityCodes;          //城市代码
@property (retain, nonatomic) NSArray * mAQI;               //未来三天AQI数据
@property (retain, nonatomic) NSArray * mPP;                //未来三天污染物数据
@property (retain, nonatomic) NSArray * mPM25;              //未来三天PM25数据
@property (retain, nonatomic) NSArray * warningPM25;
@property (retain, nonatomic) NSArray * warningPM25DR;      //PM25浓度区间
@property (retain, nonatomic) NSArray * warningPM25IR;      //PM25(AQI)区间
@property (retain, nonatomic) NSArray * warningAQICenter;   //AQI中值
@property (retain, nonatomic) NSArray * warningAQIRange;    //AQI范围
@property (retain, nonatomic) NSArray * warningFirstPollutions;//首要污染物
@property (retain, nonatomic) NSArray * warningQuality;     //空气质量

//Check
//@property (retain, nonatomic) NSArray * checkPM25;          //PM25浓度
//@property (retain, nonatomic) NSArray * checkPM25DR;        //PM25浓度区间
//@property (retain, nonatomic) NSArray * checkPM25IR;        //PM25(AQI)区间
@property (retain, nonatomic) NSArray * checkAQI;
@property (retain, nonatomic) NSArray * checkExpertAQI;     //AQI范围
@property (retain, nonatomic) NSArray * checkExpertAQINPO;  //expertAQI中值
@property (retain, nonatomic) NSArray * checkExpertAQIPO;   //expertAQI范围
@property (retain, nonatomic) NSArray * checkAuditAQI;      //主班审核AQI

@property (retain, nonatomic) NSArray * checkPrimaryPollutants; //主要污染物(Test)
@property (retain, nonatomic) NSArray * checkFirstPollutions;   //首要污染物
@property (retain, nonatomic) NSArray * checkQualitys;          //空气质量
@property (retain, nonatomic) NSArray * checkRank;              //污染等级

/**设置城市数据，并保存到指定路径*/
- (void)setCitysFilePath:(NSString *)filePath;

/**处理预警数据*/
- (void)setWarningData:(NSDictionary *)data;

/**处理审核数据*/
- (void)setCheckData:(NSDictionary *)data;

/**获取所有预警数据*/
- (NSDictionary *)getAllWarningData;

/**获取所有审核数据*/
- (NSDictionary *)getAllCheckData;

/**检测预警数据的完整性*/
- (BOOL)checkWarningUserDataCompletion;

/**检测审核数据的完整性*/
- (BOOL)checkCheckUserDataCompletion;


@end
